package cn.icanci.service.impl;

import cn.icanci.entity.bo.HeadLine;
import cn.icanci.entity.dto.Result;
import cn.icanci.service.HeadLineService;

import org.springframework.stereotype.Service;

/**
 * 头条列表实现类
 *
 * @author icanci
 * @date Created in 2021/02/03 23:21
 * @version 1.0
 */
@Service
public class HeadLineServiceImpl implements HeadLineService {
    @Override
    public Result<Boolean> addHeadLine(HeadLine headLine) {
        System.out.println("addHeadLine 被执行了 headLineInfo：" + headLine);
        Result<Boolean> booleanResult = new Result<>();
        booleanResult.setCode(200);
        booleanResult.setData(true);
        booleanResult.setMsg("保存成功");
        return booleanResult;
    }

}
